package blog.service;

import javax.annotation.Resource;

import blog.dao.UserInfoDao;
import blog.entity.UserInfo;

public class UserService { 
	
	@Resource
	private UserInfoDao userInfoDao;  
	
	public void saveUser(UserInfo user) {
		
		userInfoDao.saveUser(user); 
	}

	
	
	
	
	public UserInfoDao getUserInfoDao() {
		return userInfoDao;
	}

	public void setUserInfoDao(UserInfoDao userInfoDao) {
		this.userInfoDao = userInfoDao;
	}
 

}
